import request from "@/utils/request";

export default {
//获取用户表格数据
    packTableList(data:any) {
        return request({
            url: '/order/tableList',
            method: 'get',
            params: data
        })
    },
    customerTableList(data:any) {
        return request({
            url: '/customer/tableList',
            method: 'get',
            params: data
        })
    },
    orderTableList(data:any) {
        return request({
            url: '/order/tableList',
            method: 'get',
            params: data
        })
    },
    productTableList(data:any) {
        return request({
            url: '/product/tableList',
            method: 'get',
            params: data
        })
    },
    categoryTableList(data:any) {
        return request({
            url: '/category/list',
            method: 'get',
            params: data
        })
    },
    getSelfProductList(params: any) {
        return request({
            url: '/product-requirement/list',
            method: 'get',
            params: params
        })  
    },
}
